#ifndef SAMPLEDATAMODEL_H
#define SAMPLEDATAMODEL_H


#include <QObject>
#include <QByteArray>
#include <QVector>

class SampleDataModel : public QObject
{
    Q_OBJECT

public:
    static SampleDataModel* GetInstance();
    static void DeleteInstance();

    void SetBufferDepth(unsigned int depth);
    unsigned int GetBufferDepth();

protected:


private:
    explicit SampleDataModel(QObject *parent = 0);
    static SampleDataModel *pInstance;

    int BufferDepth;
    QVector<char> SPIData;
};

#endif // SAMPLEDATAMODEL_H